package org.xzx.shop_api.service;

import org.springframework.data.domain.Page;
import org.xzx.shop_api.entity.Goods;

import java.util.List;

public interface GoodsService {
    //商品新增
    public int addGoods(Goods goods);

    //商品列表
    public List<Goods> getGoodsByCateId(int cateId,int level);

    //商品详情
    public Goods getGoodsById(int id);

}
